package org.jim.server.helper.db.mybatis.model;

public class User {

  private long id;
  private String nick;
  private String avatar;
  private String terminal;
  private String status;

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }

  public String getNick() {
    return nick;
  }

  public void setNick(String nick) {
    this.nick = nick;
  }


  public String getAvatar() {
    return avatar;
  }

  public void setAvatar(String avatar) {
    this.avatar = avatar;
  }


  public String getTerminal() {
    return terminal;
  }

  public void setTerminal(String terminal) {
    this.terminal = terminal;
  }


  public String getStatus() {
    return status;
  }

  public void setStatus(String status) {
    this.status = status;
  }

  public User(long id, String nick, String avatar, String terminal, String status) {
    super();
    this.id = id;
    this.nick = nick;
    this.avatar = avatar;
    this.terminal = terminal;
    this.status = status;
  }

  public User() {
    super();
  }

  @Override
  public String toString() {
    final StringBuffer sb = new StringBuffer("User{");
    sb.append("id=").append(id);
    sb.append(", nick='").append(nick).append('\'');
    sb.append(", avatar='").append(avatar).append('\'');
    sb.append(", terminal='").append(terminal).append('\'');
    sb.append(", status='").append(status).append('\'');
    sb.append('}');
    return sb.toString();
  }
}
